package com.wish.business.controller;


import com.alibaba.nacos.shaded.org.checkerframework.checker.units.qual.A;
import com.wish.business.config.AjaxResult;
import com.wish.business.entity.Businesscenter;
import com.wish.business.service.IBusinesscenterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import org.springframework.stereotype.Controller;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 
 * @since 2022-04-14
 */
/*企业中心*/
@RestController
@RequestMapping("businesscenter")
public class BusinesscenterController {
    @Autowired
    IBusinesscenterService iBusinesscenterService;

    /*企业中心数据*/
    @GetMapping("list")
    public AjaxResult list(){
        Businesscenter businesscenter = iBusinesscenterService.getById(1);
        return AjaxResult.ok(businesscenter);
    }
}
